package com.lening.collect.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 杨军
 * @since 2024-05-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_record")
@ApiModel(value="Record对象", description="")
public class Record implements Serializable {

    @JsonFormat(locale= "zh", timezone= "GMT+8", pattern= "yyyy-MM-dd")

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "导入记录id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "导入日期")
    private LocalDateTime importTime;

    @ApiModelProperty(value = "总计")
    private Long total;

    @ApiModelProperty(value = "成功数")
    private Long success;

    @ApiModelProperty(value = "失败数")
    private Long failing;


}
